import React,{memo} from 'react'
import './Server.css'
import { connect } from 'react-redux'
import  Scroll  from '../../baseUI/scroll/index'
import ServerSearchInput from './serverSearchInput/ServerSearchInput'


const Server = (props) => {
    const {category} = props

    return(
        <>
            <Scroll
                direction = "vertical"
                refresh={false}
            >
                <div>
                    <ServerSearchInput handleOnClick={} />
                </div>
            </Scroll>
        </>
    )
}

const mapStateToProps = (state) => {
    return {
        category:state.server.category
    }
}
export default connect(mapStateToProps,{})(memo(Server))